home *** CD-ROM | disk | FTP | other *** search
- Path: ratty.wolfe.net!usenet
- From: jrandom@wolfenet.com (Erik Seaberg)
- Newsgroups: comp.lang.c++
- Subject: Re: works in Borland but not in Microsuck Visual C++
- Date: Sat, 16 Mar 1996 12:41:38 GMT
- Organization: Wolfe Internet Access, L.L.C.
- Message-ID: <314ab559.6203287@news1.wolfe.net>
- References: <4ia6h8$jes@news.vanderbilt.edu>
- NNTP-Posting-Host: sea-ts1-p37.wolfenet.com
- X-Newsreader: Forte Agent .99d/32.182
-
- On 14 Mar 1996 22:27:52 GMT, Bennett Haselton
- <haseltbt@ctrvax.vanderbilt.edu> wrote:
-
- > The following program was written in completely standard C++ and
- > should be portable across platforms[....]
-
- > struct person* ansPtr;
- > ansPtr->age = psnPtr->age;
-
- ansPtr is uninitialized, and doesn't point at a valid person instance.
- Flame Microsoft for dropping 16-bit support, ignoring MS/PC-DOS, and
- falling behind the standards Working Group, not for giving you
- undefined behavior when you ask for it.
-